package com.shop2cn.iapi.sqoptrade.parameter.vo;

import java.math.BigDecimal;
import java.util.List;

import com.shop2cn.iapi.sqoptrade.parameter.enums.CouponApplianceTypeEnum;

/**
 *
 */
public class CouponVo {

	// 优惠券码
	private String couponCode;

	// 优惠券面值
	private BigDecimal couponValue;

	// 优惠券适用类型
	private CouponApplianceTypeEnum applianceType;

	/**
	 * 优惠券适用的具体对象
	 *
	 * 譬如如果applianceType是<code>ApplianceTypeEnum.SPEC_RODUCT</code>，则此处为该优惠券适用的具体产品ID列表
	 */
	private List<String> applianceTargets;
	
	// 卖家券类型：0/null：满减券，1：满折券，2：代金券，5：兑换券
	private int couponType;
	
	// 卖家优惠券来源：0/null：越洋电铺，1：中免大会员
	private int couponSource;
	
	/**
	 * 优惠券/码 主类型，是券还是码
	 */
	private int couponMainType;

	public String getCouponCode() {
		return couponCode;
	}

	public void setCouponCode(String couponCode) {
		this.couponCode = couponCode;
	}

	public BigDecimal getCouponValue() {
		return couponValue;
	}

	public void setCouponValue(BigDecimal couponValue) {
		this.couponValue = couponValue;
	}

	public CouponApplianceTypeEnum getApplianceType() {
		return applianceType;
	}

	public void setApplianceType(CouponApplianceTypeEnum applianceType) {
		this.applianceType = applianceType;
	}

	public List<String> getApplianceTargets() {
		return applianceTargets;
	}

	public void setApplianceTargets(List<String> applianceTargets) {
		this.applianceTargets = applianceTargets;
	}

	public int getCouponType() {
		return couponType;
	}

	public void setCouponType(int couponType) {
		this.couponType = couponType;
	}

	public int getCouponSource() {
		return couponSource;
	}

	public void setCouponSource(int couponSource) {
		this.couponSource = couponSource;
	}

	public int getCouponMainType() {
		return couponMainType;
	}

	public void setCouponMainType(int couponMainType) {
		this.couponMainType = couponMainType;
	}
}
